package com.shop.cloud.model.response;

import java.sql.Timestamp;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.shop.cloud.model.response.RestfulResponse;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Alex
 */

@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class GetPointsListResponse {
	
    @JsonProperty("id")
    @ApiModelProperty(value = "id", example = "", required = true)
    private Long id;
    
    @JsonProperty("tradeNo")
    @ApiModelProperty(value = "交易单号", example = "", required = true)
    private String tradeNo;
    
    @JsonProperty("tradeUserId")
    @ApiModelProperty(value = "交易人ID", example = "", required = true)
    private Long tradeUserId;
    
    @JsonProperty("tradeNickname")
    @ApiModelProperty(value = "交易人昵称", example = "", required = true)
    private String tradeNickname;
    
    @JsonProperty("tradeType")
    @ApiModelProperty(value = "交易类型。3）购买积分商品 5）积分赠送 6）注册赠送 7）每日签到 8）系统赠送 9）系统扣除 10）邀请好友", example = "", required = true)
    private int tradeType;
    
    @JsonProperty("tradeTypeStr")
    @ApiModelProperty(value = "交易类型描述", example = "", required = true)
    private String tradeTypeStr;
    
    @JsonProperty("tradePrice")
    @ApiModelProperty(value = "交易价格，带上符号和单位。如：－36积分", example = "", required = true)
    private String tradePrice;
    
    @JsonProperty("tradeObjUserId")
    @ApiModelProperty(value = "交易对象ID", example = "", required = true)
    private Long tradeObjUserId;
    
    @JsonProperty("tradeObjNickname")
    @ApiModelProperty(value = "交易对象昵称", example = "", required = true)
    private String tradeObjNickname;
    
    @JsonProperty("tradeTime")
    @ApiModelProperty(value = "交易时间，格式：YYYY-MM-dd hh:mm:ss", example = "", required = true)
    private String tradeTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public Long getTradeUserId() {
		return tradeUserId;
	}

	public void setTradeUserId(Long tradeUserId) {
		this.tradeUserId = tradeUserId;
	}

	public String getTradeNickname() {
		return tradeNickname;
	}

	public void setTradeNickname(String tradeNickname) {
		this.tradeNickname = tradeNickname;
	}

	public int getTradeType() {
		return tradeType;
	}

	public void setTradeType(int tradeType) {
		this.tradeType = tradeType;
	}

	public String getTradeTypeStr() {
		return tradeTypeStr;
	}

	public void setTradeTypeStr(String tradeTypeStr) {
		this.tradeTypeStr = tradeTypeStr;
	}

	public String getTradePrice() {
		return tradePrice;
	}

	public void setTradePrice(String tradePrice) {
		this.tradePrice = tradePrice;
	}

	public Long getTradeObjUserId() {
		return tradeObjUserId;
	}

	public void setTradeObjUserId(Long tradeObjUserId) {
		this.tradeObjUserId = tradeObjUserId;
	}

	public String getTradeObjNickname() {
		return tradeObjNickname;
	}

	public void setTradeObjNickname(String tradeObjNickname) {
		this.tradeObjNickname = tradeObjNickname;
	}

	public String getTradeTime() {
		return tradeTime;
	}

	public void setTradeTime(String tradeTime) {
		this.tradeTime = tradeTime;
	}

}
